<html>
<head>
<title> Enabling Piped Logs for Web Server to Reduce the Risk of Web Service Disruption </title>
<meta name="Keywords" content="" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="stylesheet.css"/>
<script src="locate.js"></script>
<link href="prettify.css" type="text/css" rel="stylesheet" />
<script type="text/javascript" src="prettify.js"></script>
</head>
<script src="highlight.js"></script>
<body bgcolor="#FFFFFF" text="#000000" link="#0000A0" alink="#008000" vlink="#FF0000" onLoad="FindCorrectTOCPage(); prettyPrint()">
<table cellpadding="0" cellspacing="0" border="0">
<tr valign="top">
<td>
<p class="pagenavigation"><a href="17280.htm" target="_self"><img src="38976.gif" alt="Previous page" height="16" width="16" vspace="0" hspace="1" align="top" border="0"> Previous page</a></p></td>
<td>
<p class="pagenavigation"><a href="17281.htm" target="_self"><img src="38977.gif" alt="Next page" height="16" width="16" vspace="0" hspace="1" align="top" border="0"> Next page</a></p></td>
<td>
<p class="pagenavigation"><a href="toc4151855.htm" target="TOC"><img src="38970.gif" alt="Locate page" height="16" width="16" vspace="0" hspace="1" align="top" border="0"> Locate page</a></p></td>
<td>
<p class="pagenavigation"><a href="toc4151855.htm" target="TOC"><a class="" title="" href="javascript:print();" target="_self"><img src="39072.gif" alt="Print this page" height="16" width="16" vspace="0" hspace="1" align="top" border="0"></a></a></p></td>
</tr>
</table>
<h2 class="heading2">Enabling Piped Logs for Web Server to Reduce the Risk of Web Service Disruption</h2>
<p class="bodytext">If you are going to host more than 300 domains or Web sites on your server, you should switch on support for piped logs in the Apache Web server. To do this, follow these steps: </p>
<ol class="procedurelistnumber"><li class="procedurelistnumber">Log in to the server shell.</li><li class="procedurelistnumber">Issue the command mysql -uadmin -p`cat /etc/psa/.psa.shadow` -D psa -e &quot;replace into misc (param,val) values ('apache_pipelog', 'true');&quot;</li><li class="procedurelistnumber">Rebuild Apache configuration by issuing the command <code class="monospace">/usr/local/psa/admin/sbin/websrvmng -a -v</code></li></ol><p class="bodytext">This will allow to host about 900 domains/Web sites. If you need to host more than 900 domains/Web sites, then you will need to recompile Apache and some other system packages, as described in the online knowledge base article at http://kb.parallels.com/en/260.</p>


</body>
<script>highlightTOC()</script>
</html>

